/**
 *
 */
$(document).ready(function(){

});

function addTravelArticle(){
	window.location.href = getContextPath()+"/admin/travelInfo/addTravelArticle.jsp";
}

//更新旅游攻略
function updateTravelArticle(){
	var id = getSigleCheckValue();
	window.location.href = getContextPath()+"/updateTravelArticleForward.action?travelArticle.id="+id;
}

//删除旅游攻略

function deleteTravelArticle(){
	var id = getSigleCheckValue();
	if(typeof(id) != 'undefined' && id != ""){
		if(window.confirm("确定要删除吗?")){
			window.location.href = getContextPath()+"/deleteTravelArticle.action?travelArticle.id="+id;
		}
	}else{
		alert("请选择");
	}
}